package LearnReflection;

class Japanese extends People{

	public Japanese(String name, int age) {
		super(name, age);
	}
	public Japanese(){
		
	}
	public void eatSushi(){
		System.out.println("调用了eatSushi方法");
	}
	public void voice(){
		System.out.println("这是个Japanese");
	}
	public String getName(){
		return this.name;
	}
	public void setName(String name){
		this.name=name;
	}
	
}